package com.heima.dfs.api;
import com.heima.model.article.pojos.ApArticleContent;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "leadnews-article",path = "/api/v1/article")
public interface ApArticleContentFeign {

    @GetMapping
    ApArticleContent contentText(@RequestParam Long id);

    @PostMapping
     void updateContentUrl( @RequestParam String staticUrl,@RequestParam Long id);

}
